package com.example.demo.mapper;

import com.example.demo.entity.UserToken;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface UserTokenMapper {
    int insertToken(UserToken userToken);

    int updateTokenStatus(@Param("status")String status,@Param("uuid") String uuid,@Param("uid")int uid);

    UserToken selectByUuid(String uuid);

    int delete(String uuid);
}
